\hypertarget{matriz_8hpp_source}{\section{matriz.\-hpp}
}

\begin{DoxyCode}
00001 
00009 \textcolor{comment}{// Diretrizes de pré-processamento para compilação condicional. Se matriz.hpp
       não foi definido, defina matriz.hpp. Isso evita a inserção duplicada de uma
       biblioteca num mesmo código-fonte.}
00010 \textcolor{preprocessor}{#ifndef \_MATRIZ\_HPP}
00011 \textcolor{preprocessor}{}\textcolor{preprocessor}{#define \_MATRIZ\_HPP}
00012 \textcolor{preprocessor}{}
00013 \textcolor{preprocessor}{#include <iostream>}
00014 \textcolor{preprocessor}{#include <valarray>}
00015 \textcolor{preprocessor}{#include "\hyperlink{vetor_8hpp}{vetor.hpp}"}
00016 
00017 \textcolor{keyword}{using namespace }std;
00018 
00019 \textcolor{keyword}{class }\hyperlink{classvetor}{vetor};
00020 
\hypertarget{matriz_8hpp_source_l00023}{}\hyperlink{classmatriz}{00023} \textcolor{keyword}{class }\hyperlink{classmatriz}{matriz}
00024 \{
00025     \textcolor{keyword}{private}:
\hypertarget{matriz_8hpp_source_l00026}{}\hyperlink{classmatriz_a00e746d6ab3a3735fa1c82ca250ed353}{00026}         \textcolor{keywordtype}{int} \hyperlink{classmatriz_a00e746d6ab3a3735fa1c82ca250ed353}{l}; 
\hypertarget{matriz_8hpp_source_l00027}{}\hyperlink{classmatriz_ae9fd3c18c024897d096d4ab28eb0531a}{00027}         \textcolor{keywordtype}{int} \hyperlink{classmatriz_ae9fd3c18c024897d096d4ab28eb0531a}{c}; 
00028 \textcolor{comment}{//        /// matriz A bad\_alloc fdp!}
00029 \textcolor{comment}{//        valarray <vetor> A;}
\hypertarget{matriz_8hpp_source_l00030}{}\hyperlink{classmatriz_aca58a80a660ff5cddec5ccf1528f9fa9}{00030}         valarray <valarray <double> > \hyperlink{classmatriz_aca58a80a660ff5cddec5ccf1528f9fa9}{A}; 
00031 \textcolor{comment}{//        valarray < valarray <complex <double> > > Ac; ///< estrutura de dados
       que irá armazenar os elementos de uma matriz complexa}
00032     \textcolor{keyword}{public}:
00033         \hyperlink{classmatriz}{matriz}(); 
00034         ~\hyperlink{classmatriz}{matriz}(); 
00035         \hyperlink{classmatriz}{matriz}(\textcolor{keywordtype}{int}, \textcolor{keywordtype}{int}); 
00036         \hyperlink{classmatriz}{matriz}(valarray <vetor>, \textcolor{keywordtype}{int}, \textcolor{keywordtype}{int}); 
00037         \hyperlink{classmatriz}{matriz}(valarray < valarray <double> >, \textcolor{keywordtype}{int}, \textcolor{keywordtype}{int}); 
00038         \hyperlink{classmatriz}{matriz}(\textcolor{keyword}{const} \hyperlink{classmatriz}{matriz} &); 
00039         \textcolor{keywordtype}{void} show(); 
00040         \hyperlink{classvetor}{vetor} lin(\textcolor{keywordtype}{int}); 
00041         \hyperlink{classvetor}{vetor} col(\textcolor{keywordtype}{int}); 
00042         \textcolor{keywordtype}{int} retl(); 
00043         \textcolor{keywordtype}{int} retc(); 
00044         \hyperlink{classmatriz}{matriz} minimat(\textcolor{keywordtype}{int}, \textcolor{keywordtype}{int}); 
00045         \hyperlink{classmatriz}{matriz} minimat(\textcolor{keywordtype}{int}, \textcolor{keywordtype}{int}, \textcolor{keywordtype}{int}, \textcolor{keywordtype}{int}); 
00046         \hyperlink{classmatriz}{matriz}& operator=(\textcolor{keyword}{const} \hyperlink{classmatriz}{matriz} &); 
00047         \hyperlink{classmatriz}{matriz} \hyperlink{matriz_8cpp_ab2076375dc2569575f42deefca914361}{operator-}(); 
00048         \textcolor{keywordtype}{double}& operator()(\textcolor{keywordtype}{int}, \textcolor{keywordtype}{int}); 
00049 \};
00050 
00051 \hyperlink{classmatriz}{matriz} \hyperlink{matriz_8cpp_a3544289b62615aa0f3e86edfe7f9d376}{operator*}(\textcolor{keywordtype}{double}, \hyperlink{classmatriz}{matriz}); 
00052 \hyperlink{classmatriz}{matriz} \hyperlink{matriz_8cpp_a3544289b62615aa0f3e86edfe7f9d376}{operator*}(\hyperlink{classmatriz}{matriz}, \textcolor{keywordtype}{double}); 
00053 \hyperlink{classmatriz}{matriz} \hyperlink{matriz_8cpp_a3544289b62615aa0f3e86edfe7f9d376}{operator*}(\hyperlink{classmatriz}{matriz}, \hyperlink{classmatriz}{matriz}); 
00054 \hyperlink{classmatriz}{matriz} \hyperlink{matriz_8cpp_aa97cca9aeb4363cc45c3c086d9f326da}{operator+}(\hyperlink{classmatriz}{matriz}, \hyperlink{classmatriz}{matriz}); 
00055 \hyperlink{classmatriz}{matriz} \hyperlink{matriz_8cpp_ab2076375dc2569575f42deefca914361}{operator-}(\hyperlink{classmatriz}{matriz}, \hyperlink{classmatriz}{matriz}); 
00056 \hyperlink{classmatriz}{matriz} \hyperlink{matriz_8hpp_a505bcdc9cebecba7a2796d5768e0e77c}{operator^}(\hyperlink{classmatriz}{matriz}, \textcolor{keywordtype}{int}); 
00057 ostream& \hyperlink{matriz_8hpp_a1a5f1b0f85f140ee7aaaafdbe0324c27}{operator<<}(ostream&, \hyperlink{classmatriz}{matriz}); 
00058 \hyperlink{classmatriz}{matriz} \hyperlink{matriz_8hpp_aab5a4791a3f479216d7080894e4333de}{transp}(\hyperlink{classmatriz}{matriz}); 
00059 \textcolor{keywordtype}{double} \hyperlink{matriz_8hpp_abbb653b98a39bc2361b31eb7fd108f6f}{traco}(\hyperlink{classmatriz}{matriz}); 
00060 \hyperlink{classmatriz}{matriz} \hyperlink{matriz_8hpp_a799d828ff9df8f7bc018b91634c70bb4}{ident}(\textcolor{keywordtype}{int}); 
00061 \hyperlink{classmatriz}{matriz} \hyperlink{matriz_8hpp_aeab6b8ebace30cbf9d2f132408c2b379}{zero}(\textcolor{keywordtype}{int}, \textcolor{keywordtype}{int}); 
00062 
00063 \textcolor{preprocessor}{#endif // \_MATRIZ\_HPP}
\end{DoxyCode}
